//
//  URLDefine.h
//  SHShopping
//
//  Created by 坤鼎 on 2019/8/26.
//  Copyright © 2019 kunding. All rights reserved.
//

#ifndef URLDefine_h
#define URLDefine_h

#define URL_ROOT                  @"https://c.kdcer.com/shgw_mast/"
//注册登录
#define URL_smsSend               [URL_ROOT stringByAppendingString:@"smsSend"]//获取验证码
#define URL_appLogin              [URL_ROOT stringByAppendingString:@"appLogin"]//注册登录
#define URL_setUserInfo           [URL_ROOT stringByAppendingString:@"setUserInfo"]//用户信息
#define URL_upload                [URL_ROOT stringByAppendingString:@"sys/upload"]//上传头像
//首页
#define URL_getIndexInit          [URL_ROOT stringByAppendingString:@"getIndexInit"]//首页初始化
#define URL_getIndexNext          [URL_ROOT stringByAppendingString:@"getIndexNext"]//首页下一页
#define URL_search                [URL_ROOT stringByAppendingString:@"search"]//搜索
#define URL_hotSearch             [URL_ROOT stringByAppendingString:@"hotSearch"]//热门搜索

#define URL_nightshInit           [URL_ROOT stringByAppendingString:@"nightshInit"]//夜上海初始化
#define URL_nightshNext           [URL_ROOT stringByAppendingString:@"nightshNext"]//夜上海下一页
#define URL_nightshImgNext        [URL_ROOT stringByAppendingString:@"nightshImgNext"]//夜上海下一页
#define URL_comeAcrossNext        [URL_ROOT stringByAppendingString:@"comeAcrossNext"]//首页遇见上海详情页

#define URL_lzhInit               [URL_ROOT stringByAppendingString:@"lzhInit"]//老字号首页
#define URL_lzhImgNext            [URL_ROOT stringByAppendingString:@"lzhImgNext"]//老字号 图片 更多
#define URL_lzhNext               [URL_ROOT stringByAppendingString:@"lzhNext"]//老字号 推文 更多
//地图
#define URL_getMapLine            [URL_ROOT stringByAppendingString:@"getMapLine"]//地图专线
//发现
#define URL_getFindInit           [URL_ROOT stringByAppendingString:@"getFindInit"]//发现列表
#define URL_getFindNext           [URL_ROOT stringByAppendingString:@"getFindNext"]//发现下一页
//我的
#define URL_insertOpinion         [URL_ROOT stringByAppendingString:@"insertOpinion"]//添加意见反馈
#define URL_getListCollect        [URL_ROOT stringByAppendingString:@"getListCollect"]//我的收藏
#define URL_addCollect            [URL_ROOT stringByAppendingString:@"addCollect"]//添加收藏
#define URL_delCollect            [URL_ROOT stringByAppendingString:@"delCollect"]//删除收藏



#define SXLoadingTime             1
#define SXLoadingErrorTime        2
#define SXLoadingErrorStr         @"网络或服务器断开,请下拉重试"

#endif /* URLDefine_h */
